﻿/* LIFE SOFT 2013, VERSION 1.0 */
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using crmquanlynhansu.GUI.usrControl;
using System.Drawing;
using System.Collections.Generic;
using System.ComponentModel;
using LifeSoftLibary;

namespace LifeSoft.GUI.usrControl
{
    public partial class usrStaff : UserControl
    {
        public usrStaff()
        {
            InitializeComponent();
        }

        public delegate void showListDepartment(listDepartment department);

        public showListDepartment ShowListDepartment;

        private void btWorkPoint_Click(object sender, EventArgs e)
        {

        }

        private void btWorkPoint_MouseHover(object sender, EventArgs e)
        {
            btWorkPoint.BorderStyle = BorderStyle.Fixed3D;
        }

        private void btWorkPoint_MouseLeave(object sender, EventArgs e)
        {
            btWorkPoint.BorderStyle = BorderStyle.None;
        }

        private void btPayRoll_Click(object sender, EventArgs e)
        {

        }

        private void btPayRoll_MouseHover(object sender, EventArgs e)
        {
            btPayRoll.BorderStyle = BorderStyle.Fixed3D;
        }

        private void btPayRoll_MouseLeave(object sender, EventArgs e)
        {
            btPayRoll.BorderStyle = BorderStyle.None;
        }

        private void btCostAccounting_Click(object sender, EventArgs e)
        {

        }

        private void btCostAccounting_MouseHover(object sender, EventArgs e)
        {
            btCostAccounting.BorderStyle = BorderStyle.Fixed3D;
        }

        private void btCostAccounting_MouseLeave(object sender, EventArgs e)
        {
            btCostAccounting.BorderStyle = BorderStyle.None;
        }

        private void btPaid_Click(object sender, EventArgs e)
        {

        }

        private void btPaid_MouseHover(object sender, EventArgs e)
        {
            btPaid.BorderStyle = BorderStyle.Fixed3D;
        }

        private void btPaid_MouseLeave(object sender, EventArgs e)
        {
            btPaid.BorderStyle = BorderStyle.None;
        }

        private void btTaxPayment_Click(object sender, EventArgs e)
        {

        }

        private void btTaxPayment_MouseHover(object sender, EventArgs e)
        {
            btTaxPayment.BorderStyle = BorderStyle.Fixed3D;
        }

        private void btTaxPayment_MouseLeave(object sender, EventArgs e)
        {
            btTaxPayment.BorderStyle = BorderStyle.None;
        }

        private void btBalanceStaff_Click(object sender, EventArgs e)
        {

        }

        private void btBalanceStaff_MouseHover(object sender, EventArgs e)
        {
            btBalanceStaff.BorderStyle = BorderStyle.Fixed3D;
        }

        private void btBalanceStaff_MouseLeave(object sender, EventArgs e)
        {
            btBalanceStaff.BorderStyle = BorderStyle.None;
        }
        /*
         * PHONG BAN
         */
        private void btDepartment_Click(object sender, EventArgs e)
        {
            listDepartment department = new listDepartment();
            ShowListDepartment(department);
        }

        private void btDepartment_MouseHover(object sender, EventArgs e)
        {
            btDepartment.BorderStyle = BorderStyle.Fixed3D;
        }

        private void btDepartment_MouseLeave(object sender, EventArgs e)
        {
            btDepartment.BorderStyle = BorderStyle.None;
        }

        private void btStaff_Click(object sender, EventArgs e)
        {

        }

        private void btStaff_MouseHover(object sender, EventArgs e)
        {
            btStaff.BorderStyle = BorderStyle.Fixed3D;
        }

        private void btStaff_MouseLeave(object sender, EventArgs e)
        {
            btStaff.BorderStyle = BorderStyle.None;
        }

        private void btIncomeTax_Click(object sender, EventArgs e)
        {

        }

        private void btIncomeTax_MouseHover(object sender, EventArgs e)
        {
            btIncomeTax.BorderStyle = BorderStyle.Fixed3D;
        }

        private void btIncomeTax_MouseLeave(object sender, EventArgs e)
        {
            btIncomeTax.BorderStyle = BorderStyle.None;
        }
    }
}
